package lv.senan.algorithms;

import lv.senan.algorithms.turney.TurneyAlgorithm;

/** 
 * Manages instances of various sentiment analysis algorithms.
 * 
 * @author Igors Gulbinskis
 */
public class AlgorithmFactory {
	
	private static TurneyAlgorithm turneyAlgorithm;
	
	public static TurneyAlgorithm getTurneyAlgorithm() {
		if (turneyAlgorithm == null) {
			turneyAlgorithm = new TurneyAlgorithm();
		}
		return turneyAlgorithm;
	}
	
}
